package com.cainiao.mapper;

import com.cainiao.pojo.QrtzLocks;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface QrtzLocksMapper {
    /**
     *  根据主键删除数据库的记录,qrtz_locks
     *
     * @param lockName
     */
    int deleteByPrimaryKey(String lockName);

    /**
     *  新写入数据库记录,qrtz_locks
     *
     * @param record
     */
    int insert(QrtzLocks record);

    /**
     *  动态字段,写入数据库记录,qrtz_locks
     *
     * @param record
     */
    int insertSelective(QrtzLocks record);
}